// import { gettoken } from '../untils/local.js'
import router from '../router/index.js'
import _axios from './fentch.js'
function layinfo() {
    return _axios({
        url: '/info',
        // headers: {
        //     token: gettoken('token')
        // }
    })
}
function canceluser() {
    return _axios({
        url: '/logout',

    })
}
function userrouter(routes) {
    router.push(routes)
}
export { layinfo, canceluser, userrouter }